package uns.fit.gis.mapobj;

import java.util.*;

public class Path {
	//private int id;
	//private byte maxLevel;
	//private Segment[] segments;
	private int[] segments;
	/*
	private int minX;
	private int minY;
	private int maxX;
	private int maxY;
	private int length;
	private byte firstPoint;
	*/
	//private String name;
	private byte[] name;
	
	private int namingSegmentId;
	
	public Path()
	{
		//name = "";
		/*
		length = 0;
		minX = minY = Integer.MAX_VALUE;
		maxX = maxY = Integer.MIN_VALUE;
		*/
		
		namingSegmentId = -1;
	}
	/*
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	*/
	/*
	public Rectangle getMbr() {
		return mbr;
	}
	public void setMbr(Rectangle mbr) {
		this.mbr = mbr;
	}
	*/
	/*
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	*/
	/*
	public Segment[] getSegments() {
		return segments;
	}
	public void setSegments(Segment[] segments) {
		this.segments = segments;
	}
	*/
	public int[] getSegments() {
		return segments;
	}
	public void setSegments(int[] segments) {
		this.segments = segments;
	}
	/*
	public byte getMaxLevel() {
		return maxLevel;
	}
	public void setMaxLevel(byte maxLevel) {
		this.maxLevel = maxLevel;
	}
	*/
	/*
	public int getMinX() {
		return minX;
	}
	public void setMinX(int minX) {
		this.minX = minX;
	}
	public int getMinY() {
		return minY;
	}
	public void setMinY(int minY) {
		this.minY = minY;
	}
	public int getMaxX() {
		return maxX;
	}
	
	public void setMaxX(int maxX) {
		this.maxX = maxX;
	}
	public int getMaxY() {
		return maxY;
	}
	public void setMaxY(int maxY) {
		this.maxY = maxY;
	}
	*/
	public void setName(byte[] name) {
		this.name = name;
	}
	
	public byte[] getName() {
		return name;
	}
	/*
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public byte getFirstPoint() {
		return firstPoint;
	}
	public void setFirstPoint(byte firstPoint) {
		this.firstPoint = firstPoint;
	}
	*/
	public int getNamingSegmentId() {
		return namingSegmentId;
	}
	public void setNamingSegmentId(int namingSegmentId) {
		this.namingSegmentId = namingSegmentId;
	}
}
